package com.lipeng.mapper;

import com.lipeng.bean.Game;
import com.lipeng.bean.Master;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface MasterMapper {
    int deleteByPrimaryKey(Integer mid);

    int insert(Master record);

    int insertSelective(Master record);

    Master selectByPrimaryKey(Integer mid);

    int updateByPrimaryKeySelective(Master record);

    int updateByPrimaryKey(Master record);

    List<Master> selectAllMaster();

    List<Master> selectMasterByName(@Param("name") String name);
}